<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<portlet:defineObjects />

<c:choose>
    <c:when test="${not empty errors}">
        <ul style="color:red">
            <c:forEach items="${errors}" var="error">
                <li><c:out value="${error}"/></li>
            </c:forEach>
        </ul>
    </c:when>
    <c:otherwise>
        <c:out value="${requestScope.arbitraryText}" escapeXml="false"/>
    </c:otherwise>
</c:choose>
